Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Prune and Upgrade Dependencies; Add Github Actions #242

Merged
merged 27 commits into from
Nov 23, 2020

Conversation

zalo
Copy link
Contributor

@zalo zalo commented Oct 31, 2020

This PR will remove the runtime dependencies of Leap.js and update the package to use ES5 Modules.

Additional changes and excisions will take place to bring the exposed API up-to-date, as well as the contact area with three.js.

Todo:

  • Remove underscore (Use ES5 Replacements)
  • Remove ws (Use Browser Websocket Implementation) Used for NodeJS Connections...
  • Remove gl-matrix (Write Custom Vector/Matrix functions) These are actually nice...
  • Refactor for ES5 Modules Out of Scope for this PR...
  • Ensure Compatibility with Modern Three.js
  • Add Github Actions
  • Update Test and Minification Harnesses
  • Remove All References to Gestures
  • Remove All References to Tools and Pointables (Fingers inherit from Pointables)
  • Fix npm Vulnerability Audits...

The fewer dependencies, the better for the coming es5 modules refactor...
Now to consider excising ws and gl-matrix...

And then switching to es5 modules proper.
@zalo zalo changed the title [WIP] Remove Dependencies and Update to ES5 Modules [FEAT] Prune and Upgrade Dependencies; Add Github Actions Nov 3, 2020
zalo and others added 3 commits November 9, 2020 14:23
We still have a vestigial "Tool" bool that will always be false...

And couldn't get rid of Pointables because fingers are inherited from them...
@zalo zalo requested review from RecursiveCptHook and removed request for RecursiveCptHook November 9, 2020 22:36
@@ -0,0 +1,50 @@
name: leapjs - Build Library and Run Unit Tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 👍

Copy link
Contributor

@RecursiveCptHook RecursiveCptHook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM 😎
Thanks for putting this together, @zalo -- much appreciated! 👍

@RecursiveCptHook RecursiveCptHook merged commit f2c4856 into master Nov 23, 2020
@RecursiveCptHook RecursiveCptHook deleted the update-2020 branch November 23, 2020 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants